var express = require('express');
var router = express.Router();

const IndexController = require('../controller/index');


//用户登录
router.post('/login',IndexController.login)
//用户注册
router.post('/register',IndexController.register)
//管理员登录
router.post('/adminLogin',IndexController.adminLogin)

module.exports = router;
